home *** CD-ROM | disk | FTP | other *** search
- ##
- ## Test re-write rules in hdr.c with hdrtest.
- ## $Header: /nfs/papaya/u2/rsalz/src/newsgate/RCS/test-addr,v 1.3 91/07/18 19:40:52 rsalz Exp $
-
- ## Various simple tests.
- uucp-site!user
- cronus.bbn.com!user
- litchi.bbn.com!user@corp.sun.com
- user@site.arpa
- user%site.edu@relay.cs.net
- user%site@relay.cs.net
- uusite1!uusite2!uucp-site!user
- uusite1!uusite2!bbn.com!user
- uusite1!uucp-site.bogus!user
- seismo!site.oz!user
- user%site.bitnet@cunyvm.cuny.edu
- user%gate1%gate.edu@bitgate
- @router:user@site.com
- user%site1.edu%site2.com@gateway
-
- ## First, a normal address.
- rickert@math.niu.edu (Nice day today)
-
- ## Same thing with <> format.
- Nice day today <rickert@math.niu.edu>
-
- ## Now a quoted comment with special characters.
- "<- save space for me ->" <rickert@math.niu.edu>
-
- ## A purely local address.
- rickert (Neil Rickert)
-
- ## A local address with dots.
- <Neil.Rickert>
-
- ## The next address should be treated as local, since '@' is escaped.
- rickert\@math.niu.edu
-
- ## A quoted address.
- "XYZVAX::rickert"@dnet.gw.niu.edu
-
- ## A more complex quoted address.
- "XYZVAX::uunet!postmaster"@dnet.gw.niu.edu
-
- ## An unbalanced quote in comments.
- rickert@math.niu.edu (Nice day " today)
-
- ## And now something really cryptic.
- (Hi " there) rickert@(how are " you)math.niu.edu (" today)
- "The right paren ) is ok in phrase, bad in comment" <Neil.Rickert>
-